<gm:page title="hello">
  
  <!-- 
    My first very simple application in Google Mashup Editor
  -->
  
  <h1>Hello World!</h1>
  
  <gm:list id="diggFeed" data="http://digg.com/rss/indexprogramming.xml" pagesize="10" template="diggTemplate" />
  
  <gm:template id="diggTemplate">
    <table class="blue-theme">
      <thead>
        <tr>
          <th>Title</th>
          <th>Digg count</th>
          <th>Comment count</th>
          <th>Link</th>
        </tr>
      </thead>
      <tbody>
        <tr repeat="true">
          <td><gm:text ref="atom:title" /></td>
          <td><gm:text ref="digg:diggCount" /></td>
          <td><gm:text ref="digg:commentCount" /></td>
          <td><gm:link label="link" ref="atom:link[@rel='alternate']/@href" /></td>
        </tr>
      </tbody>
      <tfoot>
        <tr>
          <td colspan="4"><gm:pager /></td>
        </tr>
      </tfoot>
    </table>
  </gm:template>
  
</gm:page>